import { Postcard } from './postcard'

export interface NavigationCallback {
  onArrival: (postcard: Postcard) => void;
  onInterrupt: (postcard: Postcard) => void;
  onLast: (postcard: Postcard) => void;
  onFound: (postcard: Postcard) => void;
}